package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖项管理对象 awards
 *
 * @author xrx
 * @date 2024-05-09
 */
public class Awards extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */

    @Excel(name = "ID",type = Excel.Type.IMPORT)
    private Long id;

    @Excel(name = "奖项ID",cellType = Excel.ColumnType.NUMERIC,type = Excel.Type.IMPORT)
    private long awardsId;

    public long getAwardsId() {
        return awardsId;
    }

    public void setAwardsId(long awardsId) {
        this.awardsId = awardsId;
    }

    /**
     * 名字
     */
    @Excel(name = "名字")
    private String name;

    /**
     * 是否为主创人
     */
    @Excel(name = "申报人身份，主创人：1 成员：0",type = Excel.Type.IMPORT)
    private int isFirstPerson;


    /**
     * 奖项类型
     */
    private int type;

    private String check1Name;

    public String getCheck1Name() {
        return check1Name;
    }

    public void setCheck1Name(String check1Name) {
        this.check1Name = check1Name;
    }

    public String getCheck2Name() {
        return check2Name;
    }

    public void setCheck2Name(String check2Name) {
        this.check2Name = check2Name;
    }

    private String check2Name;
    /**
     * 奖项积分设定
     */
    private int points;

    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 上传人
     */
    @Excel(name = "用户序号", cellType = Excel.ColumnType.NUMERIC, prompt = "用户编号")
    private Long userId;

    /**
     * 审核人1
     */
    private Long checker1;

    /**
     * 审核人2
     */
    private Long checker2;

    /**
     * 上次审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastCheckTime;

    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 图片
     */
    private String pic;

    /**
     * 状态
     * 送审为1，还未送审为0
     */
    private int state;

    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String description;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public void setPoints(int points) {
        this.points = points;
    }

    public int getPoints() {
        return points;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setChecker1(Long checker1) {
        this.checker1 = checker1;
    }

    public Long getChecker1() {
        return checker1;
    }

    public void setChecker2(Long checker2) {
        this.checker2 = checker2;
    }

    public Long getChecker2() {
        return checker2;
    }

    public void setLastCheckTime(Date lastCheckTime) {
        this.lastCheckTime = lastCheckTime;
    }

    public Date getLastCheckTime() {
        return lastCheckTime;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPic() {
        return pic;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getState() {
        return state;
    }

    public void setDesc(String description) {
        this.description = description;
    }

    public String getDesc() {
        return description;
    }

    public int getIsFirstPerson() {
        return isFirstPerson;
    }

    public void setIsFirstPerson(int isFirstPerson) {
        this.isFirstPerson = isFirstPerson;
    }

    @Override
    public String toString() {
        return "Awards{" +
                "id=" + id +
                ", awardsId=" + awardsId +
                ", name='" + name + '\'' +
                ", isFirstPerson=" + isFirstPerson +
                ", type=" + type +
                ", check1Name='" + check1Name + '\'' +
                ", check2Name='" + check2Name + '\'' +
                ", points=" + points +
                ", userName='" + userName + '\'' +
                ", userId=" + userId +
                ", checker1=" + checker1 +
                ", checker2=" + checker2 +
                ", lastCheckTime=" + lastCheckTime +
                ", createTime=" + createTime +
                ", pic='" + pic + '\'' +
                ", state=" + state +
                ", description='" + description + '\'' +
                '}';
    }
}
